package com.omar.labs.tamtamy.XML;

import java.util.ArrayList;

import com.omar.labs.tamtamy.NetworkList;
import com.omar.labs.tamtamy.utils.XMLUtility;

public class XMLNetworkList extends NetworkList {
	
	public XMLNetworkList(String xml){
		super();
		ArrayList<String> v = XMLUtility.getNodesValue(xml, "it.reply.tt.rest.entity.KcLNetwork");
		for(int i=0; i<v.size(); i++){
			String tmp = v.get(i);
			XMLNetwork tmpCont = new XMLNetwork(tmp);
			this.add(tmpCont);  
		}			
	}
}
